Assignemnt: #113 and Basic Nesting Loops

Code
/// Name: Yordan Rashkov
/// Period: 7
/// Program Name: Basic Nesting Loops
/// File Name: basicnestingloops.java
/// Date Finished: 5/3/2016

public class basicnestingloops
{
    public static void main( String[] args )
    {
        for ( int x = 0; x <= 5; x++ )
        {
            for ( int y = 0; y <= 5; y++ )
            {
                System.out.print( "(" + x + "," + y + ") " );
                if ( y == 5 )
                {
                    System.out.println();
                }
            }
        }
    }
}